/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2022/1/21 2:47:59
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 订单配送模式
    /// </summary>
    public partial class CoreCmsOrderDistributionModel
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public CoreCmsOrderDistributionModel()
        {
        }
		
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
		
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 id  { get; set; }
        
		
        /// <summary>
        /// 订单类型
        /// </summary>
        [Display(Name = "订单类型")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 orderType  { get; set; }
        
		
        /// <summary>
        /// 描述
        /// </summary>
        [Display(Name = "描述")]
		
        
        [StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String description  { get; set; }
        
		
        /// <summary>
        /// 物流快递
        /// </summary>
        [Display(Name = "物流快递")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Boolean isOpenMailing  { get; set; }
        
		
        /// <summary>
        /// 同城配送
        /// </summary>
        [Display(Name = "同城配送")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Boolean isOpenHomeDelivery  { get; set; }
        
		
        /// <summary>
        /// 上门自提
        /// </summary>
        [Display(Name = "上门自提")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Boolean isOpenSelfDelivery  { get; set; }
        
		
    }
}
